<h2>DESCRIPTION</h2>

<em>db.dropdb</em> removes an existing database using given database
<b>driver</b>. Currently only <a href="grass-sqlite.html">SQLite</a>
and <a href="grass-pg.html">PostgreSQL</a> database drivers are
supported.

<h2>EXAMPLES</h2>

<h3>Drop (delete) an existing database connected through SQLite driver</h3>

Note that the standard GRASS GIS SQLite database is by default
found in the user's current mapset. This example shows an
out-of-mapset database removal:

<div class="code"><pre>
db.dropdb driver=sqlite database=/opt/sqlite.db
</pre></div>

<h3>Drop an existing database connected through PostgreSQL driver</h3>

<div class="code"><pre>
db.dropdb driver=pg database=grassdb
</pre></div>

<h2>TODO</h2>

Support other database drivers, too.

<h2>SEE ALSO</h2>

<em>
<a href="db.createdb.html">db.createdb</a>,
<a href="db.describe.html">db.describe</a>,
<a href="db.droptable.html">db.droptable</a>,
<a href="db.execute.html">db.execute</a>,
<a href="db.login.html">db.login</a>,
<a href="db.tables.html">db.tables</a>
</em>

<p>
<a href="sql.html">GRASS SQL interface</a>

<h2>AUTHORS</h2>

Radim Blazek, ITC-Irst, Trento, Italy<br>
SQLite and PostgreSQL support by Martin Landa, Czech Technical University in Prague, Czech Republic

<!--
<p>
<i>Last changed: $Date$</i>
-->
